﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GuaZhang.aspx.cs" Inherits="WEB.T_bill.GuaZhang" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
            height: 80px;
        }
        .style2
        {
            width: 247px;
            height: 59px;
        }
        .style3
        {
            height: 59px;
        }
        .style4
        {
            height: 63px;
        }
        .descrption
        {
            width: 474px;
        }
    </style>
    <script>
        function GuaZhang() {
            var res = document.getElementById("tbRegUnit").value;
            if (window.opener != undefined) {
                //for chrome
                window.opener.returnValue = res;
            }
            else {
                window.returnValue = res;
            }
            window.close();
        }
        </script>
</head>
<body>
    <form id="form1" runat="server">
    
    <table class="style1">
        <tr>
            <td class="style2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请输入挂账单位：</td>
            <td class="style3">
                <asp:TextBox ID="tbRegUnit" runat="server" style="margin-left: 0px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style4">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnOK" runat="server" onclick="btnOK_Click" Text="确定" />
&nbsp; &nbsp;&nbsp;
                <asp:Button ID="btnFinish" runat="server" Text="退出" />
            </td>
        </tr>
    </table>
    <div class="descrption">
        <asp:Label ID="Label1" runat="server" Text=" -- 备注：</br>-- <font color=#0066CC>*请先点击确定按钮，再点击退出按钮</font></br>-- <font color=#0066CC>#点击确定按钮后，挂账单位就不可以再做修改</font>">
        </asp:Label>
    </div>
    </form>
</body>
</html>
